<template>
  <el-aside width="200px" style="background-color: rgb(238, 241, 246)">
        <el-menu
          :default-openeds="['1', '2']"
          default-active="2"
          class="el-menu-vertical-demo"
          background-color="#545c64"
          text-color="#fff"
          active-text-color="#ffd04b"
          :router=true
        >
          <el-submenu index="1">
            <template slot="title">
              <i class="el-icon-location"></i>
              <span>导航一</span>
            </template>
            <el-menu-item index="1-1" route="/skuQuery">商品查询</el-menu-item>
            <el-menu-item index="1-2" route="/about">关于我</el-menu-item>
          </el-submenu>

          <el-submenu index="2">
            <template slot="title">
              <i class="el-icon-location"></i>
              <span>导航二</span>
            </template>
            <el-menu-item index="2-1" route="/test3">测试菜单3</el-menu-item>
            <el-menu-item index="2-2" route="/test4">测试菜单4</el-menu-item>
          </el-submenu>
        </el-menu>
      </el-aside>
</template>

<script>
export default {
  props: {
    msg: "",
  },
};
</script>

<!-- scoped 表示只在本文件生效 -->
<style scoped>
</style>

